package domain;

import controller.TicTacToeController;
import model.TicTacToeGame;
import model.Game;


public class Launcher {
	public static void main(String[] args){
		Game ticTacToeGame = new TicTacToeGame();
		Switcher switcher = new Switcher();
		TicTacToeController tictactoe1 = new TicTacToeController(ticTacToeGame, new Speler());
		TicTacToeController tictactoe2 = new TicTacToeController(ticTacToeGame, new Speler());
		tictactoe2.enable(false);

		switcher.addController(tictactoe1);
		switcher.addController(tictactoe2);
		ticTacToeGame.registerObserver(switcher);
	}
}
